package NGUYENHUUDUCARRAYEX;

import java.util.Scanner;

public class ex3 {
	public static void main(String[] args) {
		int[]So;	
		So=new int[8];
		int small=So[0];
		Scanner sc = new Scanner(System.in);
		for(int i=0;i<So.length;i++){
			System.out.println("So["+i+"]: ");
		So[i]=sc.nextInt();
			if(So[i]<small){
				small=So[i];
			}
		}
			System.out.println("So nho nhat la: "+small);
	}
}
